<div id="bilyn_start_page">  
    <?php
    $uiNode = Blyn::app()->getCurrentNode()->getUIManager();
    if (!isset($layoutView) || $layoutView == NULL) {
        //when render application
        if ($uiNode instanceof BUIBlyn) {
            $layoutView = $uiNode->getLayoutView();
            $views = $uiNode->getViews();
        } else {
            //when render Space, actually will always go to some Space
            $layoutView = Blyn::app()->getActiveSpace()->getUIManager()->getLayoutView();
            $views = Blyn::app()->getActiveSpace()->getUIManager()->getViews();
            $uiNode = Blyn::app()->getActiveSpace()->getUIManager();
        }
    }
    $uiNode->renderView($layoutView, array('uiObj' => $uiNode));
    ?> 
</div>
